Problem Note 48324: User-defined formats might be ignored by PROC GKPI
The following message might be issued in the SAS Log when attempting to associate a user-defined format using the FORMAT= option in the action statement in PROC GKPI:
Format not found ("formatname."). Applying default format ("Best").
This problem occurs if the format has not been referenced in a previous procedure.
To circumvent the problem, submit a procedure that applies the format to a variable before running the GKPI procedure. The sample code on the Full Code tab illustrates the syntax for the circumvention.
Operating System and Release Information
SAS System | SAS/GRAPH | z/OS | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows XP Professional | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
64-bit Enabled AIX | 9.2 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.2 TS1M0 | 9.4 TS1M0 |
Linux | 9.2 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 9.2 TS1M0 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
ods listing close;
ods html file='test.html' path='.';
goptions dev=javaimg;
%let multiplier = %sysevalf(1/360);
proc format lib=work;
picture asic_hour (round)
low-high='00000000000009.9h' (mult=&multiplier.);
run;
data class;
set sashelp.class;
sec=3850;
format sec asic_hour.;
run;
proc gchart data=class;
vbar age;
format age asic_hour.;
run;
quit;
ods html close;
ods html file='test.html' path='.';
goptions reset=all device=javaimg ;
proc gkpi mode=raised;
vslider actual=3850 bounds=(0 3600 5400 7200) / target=3600
format="ASIC_HOUR.";
run;
ods html close;
ods listing;
User-defined formats might be ignored by the GKPI procedure.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-11-05 15:35:30 |
Date Created: | 2012-10-30 15:00:40 |